import React from 'react'
import { Outlet } from 'react-router-dom'
export default function Home() {
  return (
    <div>
      Home
      <p>home开头</p>
      {/* Outlet组件,决定了Home的子路由所对应的组件渲染的位置 */}
      <Outlet></Outlet>
      <p>home结尾</p>
    </div>
  )
}
